package com.himore.api.web.model.VO;


import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

public class WXLogLoginModel {
    /*  属性	类型	    	必填	说明
       appid	string		    是	    小程序 appIdi
       secret	string		    是   	小程序 appSecret
       js_code	string		    是	    登录时获取的 code
       grant_type	string		是	    授权类型，此处只需填写 authorization_code
    */
    @NotBlank(message = "appId不能为空")
    private String  appId;
    @NotBlank(message = "secret不能为空")
    private  String secret;
    @NotBlank(message = "jsCode不能为空")
    private String jsCode;
    @NotBlank(message = "授权类型不能为空")
    private  String grantType;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getJsCode() {
        return jsCode;
    }

    public void setJsCode(String jsCode) {
        this.jsCode = jsCode;
    }

    public String getGrantType() {
        return grantType;
    }

    public void setGrantType(String grantType) {
        this.grantType = grantType;
    }



}
